<ion-view view-title="电话速查" class="xg-telephone-view">
    <ion-nav-buttons side="left">
        <a class="ion-ios-home-outline" href="#/tab/home"></a>
    </ion-nav-buttons>
  <ion-content class="xg-telephone-content">
    <div class="xg-telephone-head-pic">
        <img src="img/telephone.png" alt="头像" class="xg-head-pic">
    </div>
    <ng-form name="queryForm">
    <div class="list list-inset">
      <label class="item item-input">
        <i class="icon ion-search placeholder-icon"></i>
        <input type="text" placeholder="输入关键词" ng-minlength="1" ng-model="keywords.word" required >
      </label>
    </div>
    <button class="button button-full xg-telephone-btn" ng-click="search()" ng-disabled="queryForm.$invalid">
      搜索
    </button>
</div>
    </ng-form>
    <table>
    <tr ng-repeat="staffInfo in staffInfoes">
      <td>{{staffInfo.name}}</td>
      <td>{{staffInfo.phone}}</td>
      <td>{{staffInfo.departmentname}}</td>
    </tr></table>
  </ion-content>
</ion-view>
